<?php

namespace slinks\common\proxy;

use slinks\common\matcher\IMatcher;

/**
 * Class provides the 
 * 
 * @author Navid Mitchell
 *
 */
class ProxyFactory {
    /* @var IMatcher $methodMatcher */

    private $methodMatcher;

    /**
     * Construct a new ProxyFactory with the Given matcher. 
     * NOTE: The matcher must expect a ReflectionMethod object. 
     * 
     * @param IMatcher $methodMatcher
     * @param array $interceptors the array of 
     */
    function __construct(IMatcher $methodMatcher, array $interceptors) {
        $this->methodMatcher = $methodMatcher;
    }

    /**
     * Creates a new proxy for the given target. 
     * @param string $target the class name for the class to be proxied. 
     * @param string $proxyNamespace the namespace the proxy should be given. 
     */
    public function createProxy($target, $proxyNamespace) {
        
    }

}